<!--
 * @description: 路由跳转
 * @Author: Islands
 * @Date: 2024-06-14 23:51:17
 * @LastEditTime: 2024-06-20 17:46:20
-->
<script setup lang="ts">
import { storeToRefs } from "pinia";
import { configStore } from "@/plugins/pinia/index";
const { Widgets } = storeToRefs(configStore());
</script>
<template>
  <router-view #default="{ Component }">
    <transition
      :enter-active-class="`animate__animated ` + Widgets.anime[1]"
      appear
    >
      <div>
        <keep-alive>
          <component :is="Component" />
        </keep-alive>
      </div>
    </transition>
  </router-view>
</template>
